﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ZhimeiSoft.Framework.Common.TableInfo
{
    /// <summary>
    /// 会员卡
    /// </summary>
    public class DBRechargeCard : DBBaseInfo
    {
        /// <summary>
        /// 表名称
        /// </summary>
        /// <returns></returns>
        public override string GetTableName()
        {
            return "RECHARGECARD";
        }
        /// <summary>
        /// 会员卡ID
        /// </summary>
        public int REGCARDID { get; set; }
        /// <summary>
        /// 会员卡号码
        /// </summary>
        public string RCARDCODE { get; set; }
        /// <summary>
        /// 会员ID
        /// </summary>
        public int CUSTOMID { get; set; }
        /// <summary>
        /// 卡项目ID
        /// </summary>
        public int CARDITEMID { get; set; }
        /// <summary>
        /// 余额
        /// </summary>
        public decimal RBALANCE { get; set; }
        /// <summary>
        /// 总额
        /// </summary>
        public decimal RAMOUNT { get; set; }
        /// <summary>
        /// 当前积分
        /// </summary>
        public int RINTEGRAL { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public string RBARCODE { get; set; }
        /// <summary>
        /// 字段名称
        /// </summary>
        public static class FieldName
        {
            /// <summary>
            /// 会员卡ID
            /// </summary>
            public const string REGCARDID = "REGCARDID";
            /// <summary>
            /// 会员卡号码
            /// </summary>
            public const string RCARDCODE = "RCARDCODE";
            /// <summary>
            /// 会员ID
            /// </summary>
            public const string CUSTOMID = "CUSTOMID";
            /// <summary>
            /// 卡项目ID
            /// </summary>
            public const string CARDITEMID = "CARDITEMID";
            /// <summary>
            /// 余额
            /// </summary>
            public const string RBALANCE = "RBALANCE";
            /// <summary>
            /// 总额
            /// </summary>
            public const string RAMOUNT = "RAMOUNT";
            /// <summary>
            /// 当前积分
            /// </summary>
            public const string RINTEGRAL = "RINTEGRAL";
            /// <summary>
            /// 会员卡码
            /// </summary>
            public const string RBARCODE = "RBARCODE";
        }
    }
}
